<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .box {
      width: 300px;
      height: 170px;
      position: relative;
      overflow: hidden;
    }
    .item {
      position: absolute;
      top: -170px;
      left: 0;
      right: 0;
      height: 170px;
      background: url('https://nie.res.netease.com/r/pic/20180823/38e6d39c-a3e0-4b32-839e-132561a57c93.png') no-repeat center center;
      transition: top 1s;
    }
    .box:hover .item {
      top: 0;
    }
  </style>
</head>
<body>
  
  <div class="box">
    <img width="100%" src="https://nie.res.netease.com/r/pic/20181015/fac6b068-4a5b-415d-a690-d072413c307b.jpg" alt="">
    <div class="item"></div>
    
  </div>
</body>
</html>